Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix #176

Extend with regards to tests and credit.
  • Loading branch information...
commit cb52df91d1d02060474331ad43440902d5af0a72 1 parent 46c979e
@tuncer tuncer authored
Showing with 31 additions and 0 deletions.
  1. +31 −0
@@ -36,6 +36,37 @@ Do not commit to master in your fork.
Provide a clean branch without merge commits.
+As a general rule, any behavioral change to rebar requires a test to go with it. If there's
+already a test case, you may have to modify that one. If there isn't a test case or a test
+suite, add a new test case or suite in `inttest/`. [retest]( based tests are preferred, but
+we also have EUnit tests in `test/`.
+Say you've added a new test case in `inttest/erlc`. To only execute the modified suite,
+you would do the following:
+# First we build rebar and its deps to also get `deps/retest/retest`
+$ make debug deps
+# Now we can test the modified erlc suite
+$ deps/retest/retest -v inttest/erlc
+To test EUnit tests, you would do:
+$ make debug
+$ ./rebar -v eunit
+You can also run `make test` to execute both EUnit and [retest]( tests as `make check` does.
+To give everyone proper credit in addition to the git history, please feel free to append
+your name to `THANKS` in your first contribution.
Committing your changes
Please sign in to comment.
Something went wrong with that request. Please try again.