0
¿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 Réponses
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