GithubHelp home page GithubHelp logo

thedisco / arachne Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 4.0 93 KB

Behat extension for testing and validating XML and JSON based web services

License: MIT License

PHP 98.61% Makefile 1.39%
php behat-extension behat behat3 behat-contexts bdd

arachne's People

Contributors

jschaedl avatar mfranczakvimeda avatar robinlehrmann avatar thedisco avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

arachne's Issues

Provide registered user and anonymous user steps

From the "testing" perspective, I think it makes more sense if the user starts defining the scenario by saying the type of user.

Maybe it would be nice to have an "I am a registered user" also.

Scenario: Valid case
  Given I am an anonymous user # <---
  And I use "POST" request method
  When I access the resource url "/login"
  And I send the request
  Then the status code should be 200

Allow testing of 404 status codes

Currently an exception is thrown, if the resource returns 404 status code. Arachne should not fail in this case and the user should be able to test against error codes.

Permit use with Behat 3.8

Currently composer.json specifies behat/behat:~3.3.0. It would be good to support current Behat (3.8 currently).

@theDisco what's the best way to make this happen?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.