This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
access:agtek_access_dev [2018/10/19 19:20] mjallison [AGTEK Access Server Development] |
access:agtek_access_dev [2018/10/19 21:39] (current) mjallison [Unit Testing] |
||
---|---|---|---|
Line 8: | Line 8: | ||
====== Unit Testing ====== | ====== Unit Testing ====== | ||
- | There are currently 216 JUnit TestCase test functions in the agteknet/test directory, | + | There are currently 216 JUnit TestCase test functions in the agteknet/test directory. |
+ | The best way to test the server is run "TestAll", which runs all the other test suites. | ||
+ | JUnit assert failures will be flagged in the IDE. | ||
+ | |||
+ | NOTE: The production builds run by Jenkins will fail if any unit test fails. | ||
+ | |||
+ | It is highly recommended that all new functionality is coded with unit tests | ||
+ | (both at the session level and with client api level) to make sure it works | ||
+ | reliably before rolling into either limited testing (e.g. key2) or production. | ||
+ | The unit tests also continue to test for deprecated APIs that may still be utilized | ||
+ | by older software clients being used by customers. | ||
====== Packages required by Access ====== | ====== Packages required by Access ====== |