Rewrite & Refactor using TDD
See original GitHub issueOver the next few weeks/months I’m going to be doing a rewrite of the library using TDD so there are some actual worthwhile tests. I’m also going to refactor a lot of the code to make it easier to add new features, such as having a component version (#86) and dragging between multiple grids.
While I will try to keep the current functionality the same, there will be some changes, such as moving to a new cascade algorithm similar to how the limit_to_screen
works (#87). I will try to keep this issue updated with my progress, any design decisions, and new functionality.
At the end of this rework, there will be a major change update due to the scope of the work involved and the likelihood of there being a breaking change.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Refactoring In TDD: When Does It Happen? - MethodPoet
The refactoring phase – is the final step in the TDD cycle. It's when you change or improve existing code without changing its...
Read more >When should we Refactor in TDD? - Medium
The best time to refactor in the TDD process Remove a code smell within 3 baby-step iterations from the first appearance even the...
Read more >Red, Green, Refactor | Codecademy
Red, Green, Refactor ... Test-driven development (TDD) is an approach to software development where you write tests first, then use those tests to...
Read more >Refactoring in Test Driven Development - planetgeek.ch
The simplest refactoring regarding TDD is a refactoring that is local inside a class. The unit tests for this class keep unchanged and...
Read more >TDD & Refactoring in Legacy Systems - LinkedIn
Add tests only for code that you are changing. Use Approval Tests or Acceptance Tests to defend the code that you want to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will try to, yeah. I’m not the best when it comes to writing comments so don’t expect miracles 😛, but I’ll try to have something written up, and make it more contributor friendly in general.
Will you possibly be looking at boxes resizing when you drop another box on top of it? #87, will this look to fill the entire grid, or will it stick to the box sizes you’ve set?