Logan Allred
unread,Sep 16, 2009, 4:30:57 AM9/16/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Antennae Discussion
We are converting an existing project to use antennae, but our tests
were failing because we have a few files that match the Test*.as or
*Test.as pattern but they are not either FlexUnit test files (some
manual GUI test files or test data generators), or they are special
integration tests for special scenarios that we run manually because
they require a server and machine-specific configuration.
So we created a flexunit.filters file to exclude these files, but now
our build always fails with:
[echo] There was 1 failure:
[echo] 1) testFail (FlexUnitAllTests.as$297::AlwaysFail)
[echo] message: A filter file is in use, all tests may not have
been run.
I looked through the source and noticed that if you use a filter, the
build will always fail. I can see the logic of wanting to protect
against accidentally running a subset of tests, but in our case, there
aren't real unit tests that we run on every build.
It seems our only choice is build our own special deployment of
antennae without this behavior, or rename all of our non-FlexUnit
Test*.as and *Test.as files to something else.
Am I understanding this correctly?
thanks,
Logan