/plain-test

Just a tool for testing. No XML! Just a plain text language...

Primary LanguageJavaGNU Lesser General Public License v3.0LGPL-3.0

Plain Test

Rational

Testing is hard. If there is an application that executes tests from plain test files?

Format

Suite UserTest {
    HTTP CreateUser {
        url   : "http://127.0.0.1"
        method: "POST"
        body  : """
                   {
                       "id": 123,
                       "firstName": "John",
                       "lastName" : "Doe"
                   }
                """
        assert responseCode: 200
    }
}