Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1204

Builder for Warp filters.

    XMLWordPrintable

Details

    Description

      Warp could introduce some builder like functionality for creating filters in the test.

      Example:

      import static org.jboss.arquillian.warp.filter.HttpFilters.*;
       
      HttpFilterBuilder restFilter = uri(contains("/rest/service"));
       
      Warp.defaultFilter(restFilter);
       
      Warp
           .execute(...)
           .filter(method(GET).uri(endsWith("/path1")))
           .verify(...);
      

      Attachments

        Activity

          People

            jmnarloch Jakub Narloch (Inactive)
            jmnarloch Jakub Narloch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified