Skip to main content
added 4 characters in body
Source Link
Jamal
  • 34.9k
  • 13
  • 133
  • 237

I have this code that works fine. But, but I would like to create some unit test for this class. Most of the code is in privateprivate or voidvoid type methods. Please help me refactor my class to make it more testable.

I have this code that works fine. But I would like to create some unit test for this class. Most of the code is in private or void type methods. Please help me refactor my class to make it more testable.

I have this code that works fine, but I would like to create some unit test for this class. Most of the code is in private or void type methods. Please help me refactor my class to make it more testable.

Gave it a better title
Source Link
Malachi
  • 28.7k
  • 11
  • 86
  • 188

Refactor Does my code to make it more testableneed refactoring before adding unit tests?

Refactor Does my code to make it more testableneed refactoring before adding unit tests?

Refactor code to make it more testable

Does my code need refactoring before adding unit tests?

edited title
Link
Antarr Byrd
  • 693
  • 2
  • 5
  • 16
Loading
Source Link
Antarr Byrd
  • 693
  • 2
  • 5
  • 16
Loading