Hi.
I'm trying to use FlexUnit Custom TestRunner in
http://www.defusion.org.uk/code/flexunit-custom-test-runner/
because I want to see details of test errors and failures.
I set up pom.xml like below
_______________
......
<plugin>
<groupId>info.flex-mojos</groupId>
<artifactId>flex-compiler-mojo</artifactId>
<version>${flexmojos.version}</version>
<extensions>true</extensions>
<configuration>
<contextRoot>${parent.artifactId}</contextRoot>
<testRunnerTemplate>${basedir}/src/test/resources/DebugTestRunner.vm</
testRunnerTemplate>
</configuration>
</plugin>
......
<dependency>
<groupId>org.defusion.flexunit</groupId>
<artifactId>FlexUnitRunner</artifactId>
<version>0.2.0</version>
<type>swc</type>
<scope>test</scope>
</dependency>
.......
_________________
This setting looks good.
But when I write vm file, I got some problemes.
TestCompilerMojo provides only $imports, $testClasses and $port
variables,
so I can't write suitable code for custom testRunner.
(I think replacing lines in $testClasses is changed in newer
version...)
What I want to write is like below
_____________________
private function createSuite(): TestSuite
{
var testSuite: TestSuite = new TestSuite()
testSuite.addTestSuite(SomeTest);
testSuite.addTestSuite(SomeTest2);
return testSuite
}
_____________________
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en
http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---