Loading Java Testing for Developers - Working Files/Working Files - README.txt 0 → 100755 +5 −0 Changes for Java Testing for Developers - Working Files/Working Files - README.txt: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Due to ongoing efforts to ensure you have the best possible learning experience, we may update the working files for this course from time to time. We recommend that you download the latest version of these files from: http://www.infiniteskills.com/02337 No newline at end of file Java Testing for Developers - Working Files/cjp-examples/README.adoc 0 → 100755 +56 −0 Changes for Java Testing for Developers - Working Files/cjp-examples/README.adoc: 56 added lines, 0 removed lines. Original line number Diff line number Diff line = CJP-Examples: files for _Checking Java Programs_ I've been an advocate of advanced techniques and strong testing for most of my life as a software developer. This repository was first set up in 2007 (in CVS; moved to GitHub in 2015). It was originally built with Ant but has mostly been moved to Maven to simplify classpath. Classpath is also the reason I chose to split this repo into *multiple projects*, each an Eclipse project and a Maven-buildable project. Otherwise the classpath (and the Maven pom file) would become overly large. Not everything builds or runs at the moment: patches welcome; complaints, not so much. A few parts of this will indeed likely stay on Ant because one or two of the tools are only available as Ant plugins. While I do know about the maven-ant-plugin, it's still just easier this way. There are several main directories: . _general_ is the catch-all containing most demos for JUnit, PMD, Findbugs and JPF; . _spock_ contains the Spock examples; . _junit5_ contains forward-looking statements about the next release of JUnit. . _pmd_ contains some examples of PMD . _findbugs_ contains some examples of FindBugs . _jpf_ - not maintained, contains JPF examples from 2007, using Ant. == The Sad Tale of JPF JavaPathFinder (JPF) is a really nice set of tools for examine state modelling of your Java code. It was created at NASA to verify the software used in the Mars Rover control program (not the embedded software in the device, but the ground-based controller software). Unfortunately, it has never been easy to get started with, nor has it made the leap from Ant to Maven - although a third-party project set up Maven repositories, these have become lost in the sands of time. There is a jpf-maven-plugin project which you can find and build, but since the repositories themselves are no longer available, it is probably pointless. "Look on my works, ye mighty, and despair..." == Attention Users of the 2007 Book Version The head commit of the master branch will be totally broken if you try to follow the directions in the 2007 edition of the book. If you still want to follow a decade-old book you should only have to do `git checkout a1ad04` after cloning the git repo. When you install it YOU WILL HAVE TO SET some Eclipse variables before it will work! This is expected. Emails asking why it doesn't work out of the box when you haven't read this file are probably going to be ignored, but you won't know that if you didn't read this file; that's why it's called a README file, I suppose. The details are in the 2007 book. == Contact Thanks for reading/watching _Checking Java Programs_! Ian Darwin http://cjp.darwinsys.com/[Book website] http://shop.oreilly.com/product/9780596510237.do[Order the 2007 book from O'Reilly] Java Testing for Developers - Working Files/cjp-examples/arquillian/.classpath 0 → 100755 +36 −0 Changes for Java Testing for Developers - Working Files/cjp-examples/arquillian/.classpath: 36 added lines, 0 removed lines. Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" output="target/test-classes" path="src/test/java"> <attributes> <attribute name="optional" value="true"/> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"> <attributes> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry kind="src" output="target/classes" path="src/main/java"> <attributes> <attribute name="optional" value="true"/> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> <attributes> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"> <attributes> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> <attributes> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry kind="output" path="target/classes"/> </classpath> Java Testing for Developers - Working Files/cjp-examples/arquillian/.gitignore 0 → 100755 +1 −0 Changes for Java Testing for Developers - Working Files/cjp-examples/arquillian/.gitignore: 1 added line, 0 removed lines. Original line number Diff line number Diff line target Java Testing for Developers - Working Files/cjp-examples/arquillian/.project 0 → 100755 +40 −0 Changes for Java Testing for Developers - Working Files/cjp-examples/arquillian/.project: 40 added lines, 0 removed lines. Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>cjp-arquillian</name> <comment>Arquillian - keeps the bugs away</comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.jboss.tools.jst.web.kb.kbbuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.jboss.tools.cdi.core.cdibuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.wst.validation.validationbuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.m2e.core.maven2Builder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.m2e.core.maven2Nature</nature> <nature>org.eclipse.jdt.core.javanature</nature> <nature>org.jboss.tools.jst.web.kb.kbnature</nature> <nature>org.jboss.tools.cdi.core.cdinature</nature> </natures> </projectDescription> Loading
Java Testing for Developers - Working Files/Working Files - README.txt 0 → 100755 +5 −0 Changes for Java Testing for Developers - Working Files/Working Files - README.txt: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Due to ongoing efforts to ensure you have the best possible learning experience, we may update the working files for this course from time to time. We recommend that you download the latest version of these files from: http://www.infiniteskills.com/02337 No newline at end of file
Java Testing for Developers - Working Files/cjp-examples/README.adoc 0 → 100755 +56 −0 Changes for Java Testing for Developers - Working Files/cjp-examples/README.adoc: 56 added lines, 0 removed lines. Original line number Diff line number Diff line = CJP-Examples: files for _Checking Java Programs_ I've been an advocate of advanced techniques and strong testing for most of my life as a software developer. This repository was first set up in 2007 (in CVS; moved to GitHub in 2015). It was originally built with Ant but has mostly been moved to Maven to simplify classpath. Classpath is also the reason I chose to split this repo into *multiple projects*, each an Eclipse project and a Maven-buildable project. Otherwise the classpath (and the Maven pom file) would become overly large. Not everything builds or runs at the moment: patches welcome; complaints, not so much. A few parts of this will indeed likely stay on Ant because one or two of the tools are only available as Ant plugins. While I do know about the maven-ant-plugin, it's still just easier this way. There are several main directories: . _general_ is the catch-all containing most demos for JUnit, PMD, Findbugs and JPF; . _spock_ contains the Spock examples; . _junit5_ contains forward-looking statements about the next release of JUnit. . _pmd_ contains some examples of PMD . _findbugs_ contains some examples of FindBugs . _jpf_ - not maintained, contains JPF examples from 2007, using Ant. == The Sad Tale of JPF JavaPathFinder (JPF) is a really nice set of tools for examine state modelling of your Java code. It was created at NASA to verify the software used in the Mars Rover control program (not the embedded software in the device, but the ground-based controller software). Unfortunately, it has never been easy to get started with, nor has it made the leap from Ant to Maven - although a third-party project set up Maven repositories, these have become lost in the sands of time. There is a jpf-maven-plugin project which you can find and build, but since the repositories themselves are no longer available, it is probably pointless. "Look on my works, ye mighty, and despair..." == Attention Users of the 2007 Book Version The head commit of the master branch will be totally broken if you try to follow the directions in the 2007 edition of the book. If you still want to follow a decade-old book you should only have to do `git checkout a1ad04` after cloning the git repo. When you install it YOU WILL HAVE TO SET some Eclipse variables before it will work! This is expected. Emails asking why it doesn't work out of the box when you haven't read this file are probably going to be ignored, but you won't know that if you didn't read this file; that's why it's called a README file, I suppose. The details are in the 2007 book. == Contact Thanks for reading/watching _Checking Java Programs_! Ian Darwin http://cjp.darwinsys.com/[Book website] http://shop.oreilly.com/product/9780596510237.do[Order the 2007 book from O'Reilly]
Java Testing for Developers - Working Files/cjp-examples/arquillian/.classpath 0 → 100755 +36 −0 Changes for Java Testing for Developers - Working Files/cjp-examples/arquillian/.classpath: 36 added lines, 0 removed lines. Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" output="target/test-classes" path="src/test/java"> <attributes> <attribute name="optional" value="true"/> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"> <attributes> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry kind="src" output="target/classes" path="src/main/java"> <attributes> <attribute name="optional" value="true"/> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> <attributes> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"> <attributes> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> <attributes> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry kind="output" path="target/classes"/> </classpath>
Java Testing for Developers - Working Files/cjp-examples/arquillian/.gitignore 0 → 100755 +1 −0 Changes for Java Testing for Developers - Working Files/cjp-examples/arquillian/.gitignore: 1 added line, 0 removed lines. Original line number Diff line number Diff line target
Java Testing for Developers - Working Files/cjp-examples/arquillian/.project 0 → 100755 +40 −0 Changes for Java Testing for Developers - Working Files/cjp-examples/arquillian/.project: 40 added lines, 0 removed lines. Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>cjp-arquillian</name> <comment>Arquillian - keeps the bugs away</comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.jboss.tools.jst.web.kb.kbbuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.jboss.tools.cdi.core.cdibuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.wst.validation.validationbuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.m2e.core.maven2Builder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.m2e.core.maven2Nature</nature> <nature>org.eclipse.jdt.core.javanature</nature> <nature>org.jboss.tools.jst.web.kb.kbnature</nature> <nature>org.jboss.tools.cdi.core.cdinature</nature> </natures> </projectDescription>