[SERVER-5702] Unit test framework improvements (unittest) Created: 25/Apr/12 Updated: 11/Jul/16 Resolved: 17/Jan/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.2.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | tracking-ticket | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
It needs to be easier to implement tests of individual modules, and get those tests executed by the automated build framework. We may already have some of the requisite parts on hand, or could get them by making small modifications to existing systems. Other parts may require (or deserve) significant development effort. Features of such a system include:
|
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 17/Jan/13 ] |
|
Did you do enough that you'd resolve this, and you can add other tickets for new features? |
| Comment by auto [ 04/Jun/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: |
| Comment by auto [ 04/Jun/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: Add vars.cpp to framework library, rename to mutexdebugger.cpp.
|
| Comment by auto [ 04/Jun/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: |
| Comment by auto [ 04/Jun/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: |
| Comment by auto [ 04/Jun/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: SCons has decidedly mixed feelings about recursively substituting expansion |
| Comment by auto [ 04/Jun/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: Tests are registered with env.RegisterUnitTest(), or by compiling a C++ unit The result is that SCons knows how to build a file "build/unittests.txt", one line per test. |
| Comment by auto [ 04/Jun/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: Includes a unit test of the unit test framework written in the unit test |
| Comment by auto [ 31/May/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: Cobble together a logging/assertion library. Work toward |
| Comment by auto [ 31/May/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: Only include cmdline.h in debug_util.cpp if you need it. Work toward |
| Comment by auto [ 31/May/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: Missed include of util.h, part of |
| Comment by auto [ 31/May/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: Rename sayDbContext() to logContext(), and move from util. {h,cpp} to log.{h,cpp}. Remove now-empty util.h. Work toward |
| Comment by auto [ 25/Apr/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: Limit exitCleanly() and ntservice module to mongos and mongod. The notions of exitCleanly() versus dbexit() vs _exit() in the scope of mongod
|