LibreLingo
LibreLingo copied to clipboard
For testing: Replace fakes by real examples
I don't really understand the value of the fakes in the python test code. After all we are not testing some hard to replicate objects but plain yaml files.
IMHO it would be much better to move all the examples to the test course (we might need more test courses for separate examples). That way we would test real yaml constructs and we could also use the same yaml files in a tutorial pointing to various examples.
yes, I agree with this
only one thing. the value of the fakes package is that it's easy to re-use in 3rd party scripts. you can re-use the fakes in another software that you are writing based on librelingo.
I'm not sure how valuable this feature is and whether we can practically keep this feature while also using fake courses as the main source of fake data? :thinking: perhaps somehow linking the fake course data into this library or something