assertj / assertj/assertj-swing
FEST aborts TestNG Test Execution
- Lingua principale
- Java
- Stelle
- 121
- Fork
- 52
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
_Issue by **[Alex Ruiz](http://jira.codehaus.org/secure/ViewProfile.jspa?name=alexruiz)** from Sun, 2 Aug 2009 23:56:23 -0500_
_Originally opened as http://jira.codehaus.org/browse/FEST-208_
---
"ScreenshotOnFailureListenerTest " class seems to be capable of taking screen shot only once in test failure for a method, when I combine this with data driven testing of TestNG, my test execution is aborted as FEST tries to save another image on same path, and I get exception like this -
*******************
Exception in thread "main" org.fest.util.FilesException: Unable to create the new file 'D:\Workspace\FunctionLibrary\reportng\SelTestAutomation Results\com.test.newtest.Login.login.png': a file was found with the same path
*******************
This happens cause "screenshotFileName" method would create same file name again and eventually fail in saving another image with same name in that location. May be we we could append UUID with it to make it unique for each instance of failure.
I could not find an url to browser source code locally and modify this method and build FEST for me, Could any one plase direct me to source core url?
Thanks in Advance,
Tarun K
---
votes (original issue): 1
watches (original issue): 0
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con ScreenshotOnFailureListenerTest e con il metodo screenshotFileName menzionato nel report, quindi riproduci il fallimento usando test basati sui dati di TestNG. Verifica che i fallimenti ripetuti producano percorsi di screenshot distinti e che l’esecuzione dei test non venga più interrotta.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- testing
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100