How to use Java helper libraries to mark test pass/fail in saucelabs using selenium java? -


how use java helper libraries mark test pass/fail in saucelabs using selenium java?

i've bever used junit before.

if wanting use junit, simple.

there annotations mark functions tell junit when run them.

the annotations @beforeclass, @before, @test, @after, @afterclass, , @ignore.

@beforeclass run once before class of @test methods

@before run once before each @test method

@test specify test method

@after run once after each @test method.

@afterclass run once after class of @test methods

@ignore tell junit ignore method

to answer question, mark tests pass|fail, marking them @test method give pass|fail result after run specifying outcome of test run.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -