Skip to content

jnernest/Devopscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jbehave-example

Example of jbehave (http://jbehave.org/) configuration for IDEA and maven Additional integration with selenide (http://selenide.org/)

Open Source Love
Build Status Coverage Status Dependency Status contributions welcome

Table of contents:

Checks

Jacoco/cobertura code coverage, pmd, checkstyle, enforcer, findbugs

Project parts

Under src/test/java :

JBehave only

  • Steps description is done in ExampleSteps.java with description annotations to each step that can be used in the .story files
  • One story java file per one story file to be run by junit (ExampleStory extending JUnitStory). Steps are initialised. Mapping to story file is done by name (ExampleStory.java -> example_story.story). Configuration can be put into another class and reused.
  • All stories file so all stories be run by junit (AllStoriesByRegexPathTest extending JUnitStories) Folders, paths or regex are provided to find .story files. Configuration can be put into another class and reused.
  • Story file itself. example_stories.story

JBehave with Selenide

  • selenide package
    • GoogleTest - selenide only example
    • GoogleJBehaveStory and google_j_behave_story.story - jbehave with selenide story
    • GoogleJBehaveSteps - steps for selenide with Jbehave example

Ideas

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages