[
http://mifosforge.jira.com/browse/MIFOS-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=69851#comment-69851
]
Lukasz Chudy commented on MIFOS-2842:
-------------------------------------
Removed label: acceptancetest
> Can only run a single acceptance test on command line if it's part of "smoke"
> group
> -----------------------------------------------------------------------------------
>
> Key: MIFOS-2842
> URL: http://mifosforge.jira.com/browse/MIFOS-2842
> Project: mifos
> Issue Type: Bug
> Components: Build and Testing
> Reporter: Jeff Brewster
> Assignee: mifosdeveloperqueue
> Labels: Testing, volunteer
> Fix For: Unscheduled
>
>
> Keith noted you can't execute a single Acceptance test from the command line
> if the test is not part of the smoke test group. This is due to the change
> that was made to only run smoke tests on the local dev machine. If a
> specific test is given as a parameter, seems like this filter should be
> ignored.
> irc log:
> [09:34] <keith_p> jbrewster, I thought you might have a clue why
> no test methods run when I manually execute an acceptance test. It is
> AdditionalHolidayTest
> [09:35] <keith_p> jbrewster, I don't see any annotations that
> might suppress tests.
> [09:37] <jbrewster> keith_p: when you run acceptance tests locally,
> your build will only run the "smoke" group tests. are you running all tests
> locally or executing that single AdditionalHolidayTest? Through command line
> or via eclipse?
> [09:38] <keith_p> jbrewster, From the command line, mvn
> integration-test -Dtest=AdditionalHolidayTest
> [09:39] <keith_p> jbrewster, I got a weird error with trying to
> run in Eclipse, so went back to command-line testing
> [09:39] <jbrewster> keith_p: hmm let me try
> [09:41] <keith_p> jbrewster, HolidayTest runs fine, but it is in
> the "smoke" group.
> [09:42] <jbrewster> keith_p: yea, I haven't tried running
> individual tests via cmd line since the configuration was changed to only do
> smoke on local dev box. that may be the filter that's stopping you from
> running that test
> [09:42] <jbrewster> I'll let you know if I get the same result
> [09:43] <keith_p> jbrewster, Well, I could temporarily make it a
> smoke test, or get Eclipse-based testing to work...
> [09:46] <jbrewster> keith_p: yes, temp. adding it to smoke should
> be a good workaround. could also try mvn integration-test -Dgroup=holiday I
> haven't tried that but it might pick up that test.
> [09:46] <jbrewster> my machine is slow - still waiting for cargo
> start...
> [09:51] <keith_p> jbrewster, Well, the good news is that the
> tests ran as smoke tests. The bad news is that they all failed :(
> [09:52] <keith_p> jbrewster, I'll debug after lunch... Let me
> know the results of your test run.
> [09:53] <jbrewster> keith_p: :( I got the same behavior as you - no
> tests were executed. seems like something we should try to address. I'll log
> an issue
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://mifosforge.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues