DEV Community

Discussion on: The usefulness of building useless things

Collapse
 
mateiadrielrafael profile image
Matei Adriel • Edited

What are your thoughts about testing for side projects?

Collapse
 
saurabhdaware profile image
Saurabh Daware 🌻

I think the same thing would apply to testing as well, Is it fun to test? do it. Also, by testing if you mean writing unit tests then it usually be fun :D

Collapse
 
mateiadrielrafael profile image
Matei Adriel

Writing the tests is fun, but i usually have to spend days setting it up (it took me a lot to finally manage to persist sessions between supertest requests with koa, articles are pretty much outdated lol). Thats why im rly wondering if its worth scratching my head for so long;) Btw,amazing post!

Thread Thread
 
saurabhdaware profile image
Saurabh Daware 🌻

I think it is totally fine to take time and worth to go through that head-scratching phase. It will happen with almost anything you work on so just hold on for some more time and maybe when you finally understand it you will realize how much you enjoyed the process :D

Also, thank you for reading 🌻