Features
Scenarios
Steps
Tags
Total Passed Failed Time
@calculator 4 4 0 4ms
@library 3 2 1 6ms
Feature: Library Book Management
13ms 2025-01-31 03:16:50 PM 2025-01-31 03:16:50 PM
@library
Scenario: Add a new book
@library · 0ms
Given the book title is "The Great Gatsby"
And the author is "F. Scott Fitzgerald"
When I add the book to the library
Then the book should be available in the library
Scenario: Borrow a book
@library · 6ms
Given the book title is "1984"
And the author is "George Orwell"
And the book is available in the library
When I borrow the book
Then the book should not be available in the library
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:87)
	at org.junit.Assert.fail(Assert.java:96)
	at com.aventstack.LibrarySteps.theBookShouldNotBeAvailableInTheLibrary(LibrarySteps.java:42)
	at ✽.the book should not be available in the library(file:///Users/anshooarora/workspace/github/orgs/anshooarora/chaintest/examples/chaintest-cucumber-jvm-example/src/test/resources/com/aventstack/library.feature:18)
Scenario: Return a book
@library · 0ms
Given the book title is "To Kill a Mockingbird"
And the author is "Harper Lee"
And the book is not available in the library
When I return the book
Then the book should be available in the library
Feature: Basic Calculator Operations
43ms 2025-01-31 03:16:50 PM 2025-01-31 03:16:50 PM
@calculator
Scenario: Addition
@calculator · 3ms
Given the first number is 5
And the second number is 3
When I add the numbers
Then the result should be 8
Scenario: Subtraction
@calculator · 1ms
Given the first number is 10
And the second number is 4
When I subtract the numbers
Then the result should be 6
Scenario: Multiplication
@calculator · 0ms
Given the first number is 7
And the second number is 6
When I multiply the numbers
Then the result should be 42
Scenario: Division
@calculator · 0ms
Given the first number is 20
And the second number is 4
When I divide the numbers
Then the result should be 5