Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 175053

Programming language created by Microsoft. Open source, and compiles to JavaScript.

27 votes
Accepted

What's the difference between “foo.spec.ts” and “foo.test.ts"?

It is just a "matter of taste" as you describe it. Just a way to group your test files, so that the test runners know what files to load / look in for test methods. (If you look at the documentation …
Caleb's user avatar
  • 913
6 votes
Accepted

Testing unexpected inputs for unit tests and loops?

As a general rule, whatever conventions your team comes up with and agrees upon is good. Just be consistent in your project. I have worked on teams that use exactly the conventions you are describin …
Caleb's user avatar
  • 913