[go: up one dir, main page]

Alcotezt-UX: fix invocation headers, opt. titles for [lib_protocol] in all protocols

Related #5084 (closed)

Context

Fix the invocation headers to be more precise, for example: before:

dune exec src/proto_016_PtMumbai/lib_client/test/main.exe

after fix:

dune exec src/proto_016_PtMumbai/lib_client/test/main.exe \
                  -- --file test_client_proto_context.ml

Rule of renaming are:

  • Remove the path to the directory of the test
  • Remove the word test inside the title

For example:

  • Remove the path to the directory of the test:

src/proto_alpha/lib_protocol/test/pbt/test_bytes_conversion.ml: "protocol > script_bytes > alpha: bytes and int/nat conversion : bytes_int_conv"

to: src/proto_alpha/lib_protocol/test/pbt/test_bytes_conversion.ml: "alpha: bytes and int/nat conversion : bytes_int_conv"

  • Remove the test: proto_alpha/lib_protocol/test/integration/consensus/test_baking.ml
Tztest.tztest
      "test that a delegate with 7999 tez cannot bake"
....

to

Tztest.tztest
      "a delegate with 7999 tez cannot bake"
....

Manually testing the MR

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by lykimquyen

Merge request reports

Loading