You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trentmeester edited this page Dec 14, 2011
·
2 revisions
The best place to begin looking at example code is to start in the tnvme/GrpBasicInit directory. In there you will find examples of most of the concepts discussed in this wiki. Start by looking at file grpBasicInit.{cpp | h} to understand how tests are associated with groups. Groups are basically containers for test cases. Test cases are C++ classes which developers will need to add allowing the validation of the specification.
Further investigation should commence in the same directory viewing the remaining source code files. The remaining files are the individual tests cases which that group supports. Mostly, you might want to look at two methods within the *.cpp files. Specifically, RunCoreTest() is where each test case core logic resides, and the constructor. The constructor should be reviewed because it contains the documentation for that test case, its reason for existing, and what specification it targets.