HTTP Server -End of Day1
Well today was interesting. As I’d said in my last post, I was quite anxious to get started, but equally I was a bit worried about what the first test was going to be.. where was I going to start. I decided not to think about it, but rather, I just got started. I took that decision because otherwise I was in danger of not getting started! I would normally want to be a bit more deliberate about choosing what to test (behaviour over state), what to name the test and whether the test name expressed what it intended to do, but I NEEDED TO GET STARTED! I am glad I did this though, and I am going to start the morning off by going through the tests to check for just these things.
After getting started, I came across my first hurdle which was how to test around the Socket and SocketServer. It took a while for my brain to kick in and shake off the feeling that this project was any different to any other project, but I finally came to a solution. I feel this solution was a first attempt and I am looking forward to looking at it again tomorrow with well-rested eyes.
Unfortunately though, I had planned to get the ‘Simple GET, PUT, POST, HEAD’ tests wrapped up today, but I realise now that I hadn’t been aware of the ‘foundational’ work I was going to need to do first. I’m hoping I can make up some time tomorrow and the weekend.