E
E
Evgeny Nikitin2016-03-15 18:23:08
git
Evgeny Nikitin, 2016-03-15 18:23:08

Should I make commits to the repository that contain methods with NotImplementedException?

Although the essence is reflected in the question, I want to describe the situation in more detail:
For example, a class implements an interface with a large set of methods. Each method is, in my opinion, a separate task and should be framed as a separate commit. The process in my understanding is:

  1. Making a class commit with unimplemented methods
  2. We write a test for a method - we make a commit
  3. We write the implementation of the method - we make a commit

Steps 2 and 3 are repeated until the work is completed.
Am I right? If so, is it ok to add a set of unimplemented classes and gradually implement them? Or does it cost one?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
ManWithBear, 2016-03-15
@eunikitin

Yes, it's part of the development process. This is fine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question