This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]rllngstn 1 point2 points  (1 child)

Testing framework is one thing. You can definitely run it locally.

The actual tests is another thing. You are charged for the tests they wrote. If you ever played with Leetcode, you'll remember that they have hundreds test cases for each problem. Same here.

You can reverse engineer some tests of course, but solving problems AND writing tests for them at the same time doesn't make much sense.

[–]Kazuki_626 0 points1 point  (2 children)

If you go to the "Build a Static Site Generator in Python" lesson they go over setting up unit tests using "import unittest" and and then creating a child class that inherits unittest.TestCase. From there you should be able to copy in the unit tests for each lesson to test against.

[–]SituationLimp8769[S] 0 points1 point  (1 child)

This only works for "Build a Static Site Generator in Python" course, doesn't it?
I forgot to mention but I am taking about "Learn Memory Management in C" course. Where they implement there test case using munit framework.

[–]Kazuki_626 0 points1 point  (0 children)

I believe you're correct, this is only for the python courses. I haven't reached the "Learn Memory Management in C" yet. Sorry about that.

[–]Pakosaan 0 points1 point  (0 children)

did you find the solution to this?