Closed shonfeder closed 8 months ago
Can you please assign me this issue @NathanReb
@NathanReb please can you assign me this task cause am available to work on it asap
@Dezzy12 are you still interested in this task?
Yes I am
@shonfeder please assign me this issue.
Just one small question. Should I open a new PR or continue with existing PR on this issue?
Whichever you prefer!
Having a few simple test cases for different API changes would make for a great way to monitor progress on
api-diff
initial implementation.Add tests that will check the behavior of
api-diff
whenThose tests should be added to
tests/api-diff/run.t
. This will require either modifying the existingref.mli
file created in that test, or creating a newmod_ref.mli
file, becauseref.mli
doesn't include a module already. For each test case we should generate a new.mli
file with a change from the list above, compile it to a.cmi
withocamlc
and then runapi-diff ref.cmi <test-file.cmi>
.You can read about the testing methodology used for the tests at https://github.com/NathanReb/ocaml-api-watch/blob/main/CONTRIBUTING.md#writing-tests