Hi, Tellurium looks like it will be a great test framework. Could someone help me get past this stumbling block. I'm trying to run the tests such as TelluriumDownloadsPageJUnitTestCase.java in the tellurium- website reference project so I can change them around and learn more about tellurium. (see http://code.google.com/p/aost/wiki/TelluriumNewReferenceProjects#Tellurium_Website_Project)
I've run mvn package and then mvn test but the only output is: T E S T S ------------------------------------------------------- There are no tests to run. Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 I'm also new to maven and it appears that the pom.xml file doesn't include instructions to compile the Test files? At this point, I thought that I'd try to follow the instructions in the How To file. Thus, I tried following the instructions in the HowTO of the tellurium- website reference project but I could use some clarification. I downloaded tellurium-0.7.0.tar.gz from http://code.google.com/p/aost/downloads/list The next instruction is "Before build the project using the ant script, please first change the javahome in the build.properties file, i.e., replace the following line javahome = /usr/java/current" There are many buid.xml files and I don't really want to build tellurium-core, I just want to run the tellurium-website junit tests. Thus, I tried running the shell script: rundl.sh but I get this error: . ./rundsl.sh src/test/resources/org/tellurium/dsl/TelluriumPage.dsl Exception in thread "main" java.lang.NoClassDefFoundError: org/ telluriumsource/dsl/DslScriptExecutor Caused by: java.lang.ClassNotFoundException: org.telluriumsource.dsl.DslScriptExecutor at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: org.telluriumsource.dsl.DslScriptExecutor. Program will exit. j...@agile1-tdl:~/workspaceRefactor/vireo-tellurium-tests$ j...@agile1-tdl:~/workspaceRefactor/vireo-tellurium-tests$ . ./ rundsl.sh src/test/resources/org/tellurium/dsl/TelluriumPage.dsl Exception in thread "main" java.lang.NoClassDefFoundError: org/ telluriumsource/dsl/DslScriptExecutor Caused by: java.lang.ClassNotFoundException: org.telluriumsource.dsl.DslScriptExecutor at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: org.telluriumsource.dsl.DslScriptExecutor. Program will exit. Jade -- You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en.
