[
https://issues.jboss.org/browse/JBIDE-12434?page=com.atlassian.jira.plugi...
]
Vlado Pakan commented on JBIDE-12434:
-------------------------------------
Yes something like that. For SWTBot tests it's implemented in our JUnit runner and is
enabled via system property swt.bot.test.record.screencast. File name is name of class
containing test and location is in subdirectory screencast at the same place where SWTBot
creates subdirectory for screenshots created by SWTBot when test fails.
I don't know how to implement in for non SWTBot tests would be better if somebody who
is writing these test will take care about it.
Be careful with naming of screencast file in case developer uses setUp() and tearDown()
method. When test class contains more than one test method these methods are called twice
so if the name of screencast file will be class name then only one screencast file will be
created and will contain only last test from test class.
Add screencasting functionality to tests
----------------------------------------
Key: JBIDE-12434
URL:
https://issues.jboss.org/browse/JBIDE-12434
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: testing
Reporter: Vlado Pakan
Assignee: Vlado Pakan
Add possibility to save screen cast of test being run.
Implementation:
1. Add class ScreencastRecorder.java to
http://svn.jboss.org/repos/jbosstools/trunk/tests/plugins/org.jboss.tools...
with methods start(String pathToVideoFile) and stop()
2. Add monte library .jar file to resource directory of org.jboss.tools.tests plugin
3. Add proper license info regarding to using of monte library to plugin
org.jboss.tools.tests and source code of ScreencastRecorder.java
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira