Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

141 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QualityDevOPs

QA role in the DevOps world Code examples for John Bryce seminar: http://bit.ly/2sKcnmz

This is a simple login application (Java/Maven) running on Tomcat

Phases:

============

  • Unit tests:
    • using surefire maven plugin
    • runs during the maven 'test' phase

      mvn test

  • Deploying to remote tomcat (commented, requires manager-gui enabled):
    • requires maven settings.xml configuration

      mvn tomcat7:redeploy -Dskip.surefire.tests

  • Create a docker image:
  • Integration/System tests:
    • using failsafe maven plugin

    • annotated with junit Category "IntegrationTests"

    • runs during the maven 'verify' phase

      mvn failsafe:integration-test

  • Release
    • uploads released version to nexus
    • todo: upload released docker image to registry

      mvn release:prepare release:perform -B -P releases

Application is based on (with modifications): http://www.javawebtutor.com/articles/maven/maven_simple_login_application.php and
https://github.com/LableOrg/java-maven-junit-helloworld/tree/master/src

About

QA role in the DevOps world

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages