Work together on tests for DB course (Maman - 236363) assignment 2.
- The 'corona' package contains the tests provided by the staff.
- The 'extra' package contains tests added by Joseph Hakim and Tzuriel Mazuz.
- The 'einat' package conatins tests added by einat (don't know your last name,if you're reading this you're welcome to comment :P).
To just run the tests:
- Download or clone the files as is and put them
under
src/test/java/
in your project (e.g the path to staff abstract test should besrc/test/java/corona/AbstractTest.java
). - Set the
java
directory you just copied to be a "Test Sources Root" in your IntelliJ (no idea how it works in Eclipse). - Run the desired classes like regular JUnit4 tests.
If this is your first time working with git, read or watch some basic tutorial to know what branches, commits and pull requests are. I'll add some links later.
To help implement the tests:
- Clone the repository.
- Create your own branch (in IntelliJ there's a clickable thingie at the bottom right, or just from the terminal).
- Do whatever you want in that branch (hopefully, implement tests).
- Push the branch to the repository on Github.
- Create a pull request.
- ???
- Profit