Archive: Namaste PHP AMQP framework v1.0 (2017-2020)
952 days continuous production uptime, 40k+ tp/s single node. Original corpo Bitbucket history not included — clean archive commit.
This commit is contained in:
21
tests/unit/README.md
Normal file
21
tests/unit/README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
Unit Tests
|
||||
==========
|
||||
Everyone's favorite subject, amirite?
|
||||
|
||||
So, if you're wanting to get started with the developer unit tests instead of writing your own,
|
||||
feel free to use/borrow/steal these.
|
||||
|
||||
In the ./tests/unit/data directory you'll find dumps for both mySQL and mongoDB tables.
|
||||
|
||||
Note that unit tests use the gaTest_tst collection/table in both schemas. For mongoDB, the collection
|
||||
is created in the {env}_givva_namaste database. (Not the admin db!)
|
||||
|
||||
Unit test require a somewhat significant amount of data. Still, even these data files may not
|
||||
provide you with the stretch room you need. If you get a unit test that fails, try running the test
|
||||
again. Often times, there just wasn't enough data to meet the query criteria for the test.
|
||||
|
||||
Note that, for every dev merge into master, all unit tests are run until all are green prior to the merge.
|
||||
|
||||
--Micheal Shallop
|
||||
|
||||
On Jul 25, 2018
|
||||
Reference in New Issue
Block a user