Ask HN: Is there a programming language with embedded testing support?
There are also very few languages that focus on correctness and contracts to help create programs that have fewer bugs. Yet The mayority of languages simply focus on "getting things done", so to speak, and leave testing and correctness out of the picture or add them later on.
Granted, testing support can be added later via libraries and frameworks, but I wonder: in the continuum of program correctness, is there a language that perhaps does not provide full proof/correctness/contract support but does come with testing right out of the box, either in its implementation or philosophy?
Also related question: do you know of any language that was specifically designed to encourage and/or make testing easier for its programs?
Even though I didn't get the "joke" for a recent post about Go[0], I still think it's interesting to ask.
[0] https://news.ycombinator.com/item?id=12371029
https://coq.inria.fr/about-coq
http://www.adacore.com/adaanswers/about/ada-comparison-chart
http://www.adacore.com/gnatpro/toolsuite/utilities/
https://github.com/lampepfl/dotty
http://www.scalatest.org/getting_started_with_feature_spec
http://etorreborre.github.io/specs2/
http://www.gebish.org/
http://spockframework.github.io/spock/docs/1.1-rc-2/introduc...
https://doc.rust-lang.org/book/testing.html
The languages Alloy and TLA+ come to mind. (So does Coq, which is at the other extreme of actually proving your program correct.)
Python has doctests.
Not sure if thats what you mean?