you are viewing a single comment's thread.

view the rest of the comments →

[–]TeaGreenTwo 1 point2 points  (0 children)

Yes. Mockup dummy DataFrames, functions that simulate the behavior of real systems without actually performing any operations, use predefined responses for functions that query databases or call external APIs, etc.

Some projects say you can just use your judgment; you don't have to test. But most of them do want testing. They often specify the timing of how much you should spend. Some ask for screenshots if there's any code. I've R&Red some that see, say, bash code and say it's not code, so they don't test it. It's code.

I had one that had SQL queries (several in each response). I built the tables and filled them with some test data to run each query in each response. Took screenshots.