FitNesse.
SuiteAcceptanceTests.
SuiteFixtureTests.
SuiteGeneralFixtureSpec.
TestNoDefaultConstructor [add child]
TestNoDefaultConstructor [add child]
When testing a table, if the first cell of the table refers to a fixture class without a default (no argument) constructor, then the following message should appear in that cell:
Class fixtureName has no default constructor.
- Here is a fitnesse page that should generate the error
NoDefaultConstructorFixture is a real class, but is not a Fixture
| Action fixture | ||
| start | Page builder | |
| enter | attributes | Test=true |
| enter | line | !path ./classes |
| enter | line | !path ./fitnesse.jar |
| enter | line | |!-fit.testFxtr.NoDefaultConstructorFixture-!| |
| enter | page | NotFixturePage |
| Response Requester | |
| uri | status? |
| NotFixturePage?test&debug | 200 |
- The error message should show up in the response
| Response examiner | |||
| type | pattern | matches? | contents? |
| contents | Class fit.testFxtr.NoDefaultConstructorFixture has no default constructor. | true | |
Add Child Page to TestNoDefaultConstructor