For So Long, London
For So Long, London
Whether I like it or not I am writing my tests for tomorrow in my head right now. Whether I like it or not I am realising what I need to do with my factories in order to make them run properly tomorrow. I am supposed to be chilling and I am having my dinner but I can stop thinking about: I know how I am going to write a test tomorrow. I know exactly what I need to test. I know how I am going to use my factories and modify them to get there.
I know what I don’t know how to do and I know how I am going to raise a draft PR with a comment explaining this.
I know why I won’t be able to get the app to run without doing one little thing and so I can leave a comment on a draft PR to get some feedback before I implement this. Unless… unless I can figure it out myself. Unless I can
- I’ve finished changing my models
- I’ve finished adding some changes to my logic although I’m not 100% sure if it will work yet and if I got the right end of the stick
- I’m not even sure if a bit of code that I deleted was the right thing but never mind
- I know what unit tests I have to write tomorrow and what I want to test specifically (something along the line of get filtered things…)
- I know what changes I need to make to my factory boy factories to test for these things
But what I don’t know is… can I create some fake data that is specific enough in order to run my apps
And straight away I know that my answer is just to tweak a custom command that I already have that creates some fake data and just to architecture it some more.
And all of a sudden just like that I have solved my own problem and answered my own question and just owned my own feature and all I can say is WOW…
Because just like that I have found a way to input all of the fake data that I need and like that I can actually test my app
And so it is that I keep on going… as such it is that I keep on working… somehow. Always with the aim of balancing rest with purpose and passion.
Thank you
Comments
Post a Comment