Because the test cases are dependent on the configuration inside
testng.xml, you have to run the full test suite, not individual test
cases.

However, I've left the "enabled" attribute exposed in testng.xml; I
frequently will disable all but one of the tests defined in
testng.xml, to ensure that
I can run relevant tests quickly (just be careful not to check that back in!).

On Mon, Jan 11, 2010 at 12:29 PM, Igor Drobiazko
<[email protected]> wrote:
> After the recent refactoring of the integration tests I'm not able to run
> them inside Eclipse. The new guide into integration testing doesn't cover
> this topic. I'm I missing something?
>
> I'm getting the following exception:
>
> FAILED CONFIGURATION: @BeforeMethod indicateTestMethodName(public void
> org.apache.tapestry5.integration.app1.FormTests.form_action_via_get())
> java.lang.NullPointerException
>    at
> org.apache.tapestry5.test.SeleniumTestCase.indicateTestMethodName(SeleniumTestCase.java:92)
> ... Removed 24 stack frames
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName
> SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod
> SKIPPED CONFIGURATION: @AfterClass cleanup
> SKIPPED: form_action_via_get
> SKIPPED: per_form_validation_messages_and_constraints
> SKIPPED: link_submit_component
> SKIPPED: image_submit_triggers_selected_event
> SKIPPED: submit_with_context
> SKIPPED: client_validation_for_numeric_fields_that_are_not_required
> SKIPPED: nested_form_check
> SKIPPED: validation_exception_thrown_from_validate_form_event_handler
> SKIPPED: disabled_fields
> SKIPPED: basic_datefield
> SKIPPED: link_submit_without_validator
> SKIPPED: form_field_outside_form
> SKIPPED: wrapper_types_with_text_field
> SKIPPED: override_datefield_message_catalog
> SKIPPED: calendar_field_inside_bean_editor
> SKIPPED: simple_form
> SKIPPED: password_field
> SKIPPED: client_field_format_validation
> SKIPPED: hidden_field
> SKIPPED: validation_constraints_from_messages
> SKIPPED: radio_button_and_group
> SKIPPED: page_context_in_form
> SKIPPED: blank_password_does_not_update
> SKIPPED: label_invokes_validation_decorator_at_correct_time
> SKIPPED: server_side_validation_for_textfield_and_textarea
> SKIPPED: event_based_translate
> SKIPPED: form_encoding_type
> SKIPPED: null_field_strategy
> SKIPPED: regexp_validator
> SKIPPED: client_side_numeric_validation
> SKIPPED: client_side_validation
> SKIPPED: radio_group_validator
>
> ===============================================
>    org.apache.tapestry5.integration.app1.FormTests
>    Tests run: 32, Failures: 0, Skips: 32
>    Configuration Failures: 1, Skips: 64
> ===============================================
>
> --
> Best regards,
>
> Igor Drobiazko
> http://tapestry5.de/blog
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to