I have two projects, one is working and the other isn’t. I want to make the first project include the same functionality from the second project, or the second project to work as the first one does.

I’ve thought of adding tests to the first project that I can use with the second project so that they end up working the same way. But I don’t know which kind of tests to write, should I be using a bunch of videos as test subjects? I think that would make testing very slow, but I don’t know what else to do.



19 dias

Typically each project would have unit-tests that cover their own different edge cases, and the one that imports the other would have 1 end-to-end test that covers both functionality but doesn’t explore all of the edge cases.

Ask specific questions about how to code something in python

Python docs (tutorial)
Intro to programming - University of Helsinki

General python discussion on lemmy.ml

Create Post From:

  • 0 users online
  • 1 user / day
  • 2 users / week
  • 3 users / month
  • 7 users / 6 months
  • 18 subscribers
  • 7 Posts
  • Modlog