You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I would like to work on this, but I am not sure which file is referred to as "required code file".
And some more details would be appreciated regarding "PnC" and "required parameters".
Hey @kyteinsky,
Required code is the file generated when Auto-DL is run successfully.
As it's generated in runtime, not available in the repo.
It may look easy but it isn't an easy issue tbh. 😅
Currently when the /generateroute is called some parameters are required for it to be generated successfully. If they are not provided, some trivial error is printed ("Some error occurred") so a unit test for the same is needed, and with that test (test-driven-development) we'll enforce the required parameters so that improved error logging can be done on Auto-DL's side itself before calling the generate (code) "function".
The aim here is to identify the required parameters and provide test cases that will help the developers and future users of Auto-DL. With respect to PnC (permutations and combinations), I meant that there's no list of "required" parameters, ofc, some are obvious, but we need to try sending and not sending parameters to find out whether a particular param is required.
Feature Request
Is your feature request related to an existing Issue or a new implementation?
Nope
Feature Description
A simple unit test that checks if the required code file is generated.
A really helpful test would be to test failing on absence of required parameters (would need to do some PnC to get the required ones though)
The text was updated successfully, but these errors were encountered: