ReaderJunits
From RifidiWiki
Contents
Purpose of Junits
Junits are automated tests that programatically test functionality. The advantage of them is that you can run the tests to make sure that as new functionality is added, old functionality doesn't break.
Creating a new Junit in eclipse
Currently our testing packages are stored internally to Pramari because they have dependencies to non-free libraries provided by RFID reader companies. We are currently working on opening up our tests. However, you can ignore the first step and add the test to a testing package contained in your reader's source code.
- Checkout org.rifidi.tests and org.rifidi.internal.dependencies from the internal repository
- Create a new package for your tests
- Add a new Junit in eclipse