I was given a task to create a project on Django. It is pretty much simple and straightforward, but it's my first task on Django and TDD driven, that is why it has difficulties for me. I have read a lot about TDD on wiki and Django portal, but still do not know how to start.
Simplified models:
- Skill
- Description
- Student
- Description
- Skills
- Project
- Task
- Description
- Students
I need to show information about projects, students and skills. Skills should be like tags: after click show students with that skill. Please help me to start to write my first tests: which unit test should be the first, which questions should I ask myself to create further tests, how small should they be, and so on.
I'd start by doing the django tutorial and then apply the lessons learnt to your project above.
That will give you the starting blocks for the models, and in the final part, an introduction to TDD.