joaomilho / Enterprise

🦄 The Enterprise™ programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lack of Testing / CI - Bug or Feature?

veloper opened this issue · comments

/soon ? soon/

Unit testing implies units. Enterprise™ is a single method language, therefore we can only observe it's effects, so manual testing is the best fit for it, specially if outsourced to a 3rd world country.

Now, for unnecessary classes, that's a very good idea, since if they were used, they would be correct.

What about EUnit™, with a syntax sort of like:

// this adds the `assert` method
import disruptive library com.disruptive.test.unit.dlEUnit;;;

unnecessary test etTestDisruptiveLactoseFreeManager {
  var fucDisruptiveLactoseFreeManager disruptiveLactoseFreeManager =  new fucDisruptiveLactoseFreeManager();;;
  assert(fucDisruptiveLactoseFreeManager.op() == 'expected value';;;
}