Closed fortmea closed 7 months ago
I possibly have failed to undestand the example project, as it somehow generates report files without asking for any of it. Also, it's lacking some files
Managed to get it working. Had to inform my custom runner in gradle and then create report folder manually. Now i face another issue with html reports: TypeError: Failed to construct 'URL': Invalid URL at t.default (html.html:47:117256)
As stated in readme - html reports may nit work due to missing api on Android. Also from what I see you have strange dependencies setup and you use RunWith annotation which is not needed at all and can break something
Sorry, i was testing to see if it was some problem with the dependencies' versions. Anyways, for now i'll be using a tool to convert json reports to HTML. Thanks for your answer.
👓 What did you see?
java.lang.IllegalArgumentException: Couldn't create parent directories of '/target/cucumber.json'. Make sure the the parent directory '/target' isn't a file. This happens with any given path, except "data/data/br.codans.cucumberex/target/report.json" though i can't see any new folder anywhere and there's no clear problem. It just runs and pass the tests
✅ What did you expect to see?
I expected that the report files would be correctly generated, as i've followed the correct instructions in setting the project up.
📦 Which tool/library version are you using?
🔬 How could we reproduce it?
) class ExemploCucumber{ }
class ExemploInserirTexto {
}
language: pt
Funcionalidade: Exemplo de como passar texto
Cenário: Passar texto para um step Como usuário Desejo escrever um texto no campo Para que esse texto possa ser usado no app
Delineacao do Cenario: Digitar no campo
Dado que o app iniciou
Quando o usuário digita
Então o editText deve exibir
Exemplos:
| Texto a ser digitado |
| "olá" |
| "Como vai?" |
| "12345" |
| "Texto de exemplo" |