Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preconditions to invoke WFS 2.0 from DGIWG WFS profile #4

Closed
rjmartell opened this issue May 11, 2016 · 4 comments
Closed

Add preconditions to invoke WFS 2.0 from DGIWG WFS profile #4

rjmartell opened this issue May 11, 2016 · 4 comments
Assignees
Milestone

Comments

@rjmartell
Copy link
Contributor

The latest revision of the DGIWG WFS 2.0 profile (DGIWG 122, 16 Nov 2015) is based on the WFS 2.0.2 specification (OGC 09-025r2).

There should be a precondition to check that the IUT implements WFS 2.0.2. If not, all remaining tests are skipped.

@rjmartell
Copy link
Contributor Author

rjmartell commented May 11, 2016

Defining preconditions as actual test methods in a separate conformance class is preferred, since this makes them much more visible in the report so it's obvious if one fails.

For example, see the org.opengis.cite.iso19142.SuitePreconditions class in the WFS test suite.This class is referenced in the TestNG configuration file as the only member of the "Preconditions" conformance class:

<test name="Preconditions">
  <classes>
    <class name="org.opengis.cite.iso19142.SuitePreconditions"/>
  </classes>
</test>

@bermud bermud changed the title DGIWG WFS profile based on WFS 2.0.2 DGIWG WFS profile based on WFS 2.0.2 add preconditions May 16, 2016
@bermud bermud modified the milestone: 2016-05 May 16, 2016
@bermud bermud changed the title DGIWG WFS profile based on WFS 2.0.2 add preconditions Add preconditions to invoke WFS 2.0 from DGIWG WFS profile May 16, 2016
@dstenger
Copy link
Contributor

We are currently fixing this issue.

@dstenger
Copy link
Contributor

In the last meeting we decided to implement this check in a single test to prevent failure of the whole test suite when WFS 2.0.0 is used.

@dstenger
Copy link
Contributor

A test for WFS 2.0.2 was implemented in pull request #6 (more information in the pr).

The pull request has already been merged to the master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants