Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
ĀæAlguien para probar mi cĆ³digo?
Necesito que probĆ©is todos los tipos de input posibles para este cĆ³digo: https://code.sololearn.com/clRLvIER4ya6/?ref=app
11 Respostas
0
Para este tipo de prueba, utilice testes unitarios. MƔs eficientes que qualquer persona.
0
El que?
0
Oriol Yo no soy hablante nativo de espanol (ni mi teclado...). Puedes hacer la pregunta mƔs clara?
0
Que prueba.
0
what test
0
"Probar mi cĆ³digo... todos los tipos de input posibles". Eso va muy mejor con testes unitarios que con personas testando.
0
I don't understand. Do you soeakaenglish better than spanish? O el espaƱol mejor que el inglƩs?
0
Sure.
Do you want someone to test your code with all possible input types?
If yes, asking people to do that is waste of time (for you and for other people). Massive tasks are always better done by software - and code testing is no different at all.
Go for unit tests. I guess you can unit test Ruby code with rspec.
Just read about unit tests, rspec and, maybe, Rake. You'll go quite faster and better than I can explain you.
0
How do I do unit tests?
0
Just follow the hint I gave you:: read about Rake, rspec and the like.
In short: you write test code with functions which call your code functions with some sets of inputs and check (assert) the outputs are correct. And so on for classes and methods.
This way, tests get way more flexible and cheap to run.
0
okay