KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
assert
36 questions
Follow Tag
Sort by:
Newest
Votes
Active
38
votes
4
answers
How to check if value is nan in unittest?
python
unit-testing
assert
nan
asked 2013-06-03T06:13:42.593
10
votes
4
answers
[C++ compile time assertions]: Can we throw a compilation error if some condition is not met?
c++
templates
assert
compile-time
asked 2013-04-24T12:54:12.360
16
votes
5
answers
Python unittest - asserting dictionary with lists
python
unit-testing
dictionary
assert
asked 2013-01-23T23:13:34.207
8
votes
1
answers
Assert.fail (node.js): what does Operator parameter mean?
node.js
unit-testing
assert
asked 2013-01-12T14:52:06.507
16
votes
5
answers
Assert statement in Verilog
assert
verilog
asked 2012-12-16T19:34:58.730
117
votes
5
answers
Is using assert() in C++ bad practice?
c++
coding-style
assert
asked 2012-08-21T20:15:59.470
18
votes
3
answers
Debug Assertion Failed … _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
c++
memory-leaks
assert
asked 2011-12-02T10:00:01.057
98
votes
3
answers
Where are the Assertion Methods list from Django TestCase?
django
testing
assert
asked 2011-07-20T19:08:15.623
17
votes
6
answers
How do you check which thread is executing code in Java?
java
multithreading
concurrency
assert
asked 2011-01-13T19:21:57.213
35
votes
11
answers
Is it good practice to use assert in Java?
java
assert
asked 2010-12-27T09:06:46.220
9
votes
2
answers
Using regexp in assertEquals() does not work
java
regex
selenium
assert
selenium-webdriver
asked 2010-12-01T23:54:38.673
69
votes
9
answers
Adding message to assert
c++
logging
debugging
assert
asked 2010-09-22T09:22:48.477
13
votes
4
answers
When should assert() be used?
c++
assert
asked 2010-09-13T16:19:58.637
21
votes
3
answers
Am I misunderstanding assert() usage?
c++
c
assert
asked 2010-07-23T09:20:49.410
110
votes
6
answers
assert vs. JUnit Assertions
java
junit
assert
assertions
asked 2010-06-03T13:26:46.403
13
votes
2
answers
Guidelines for using Assert versus Verify
unit-testing
nunit
moq
assert
verify
asked 2010-05-27T14:04:38.700
10
votes
8
answers
If as assert fails, is there a bug?
debugging
assert
asked 2010-05-20T21:16:04.283
30
votes
4
answers
When assert() fails, what is the program exit code?
c
linux
assert
asked 2010-05-19T03:48:34.283
9
votes
3
answers
NUnit conflict with Debug.Assert
c#
nunit
assert
asked 2010-02-26T10:29:21.513
9
votes
7
answers
Using "assert" with pointers in C++
c++
pointers
assert
asked 2009-12-10T00:08:32.330
16
votes
5
answers
Continue to debug after failed assertion on Linux?
c++
c
linux
gdb
assert
asked 2009-11-12T11:21:36.997
56
votes
7
answers
What is the use of Python's basic optimizations mode? (python -O)
python
optimization
assert
bytecode
asked 2009-11-07T13:51:35.423
16
votes
7
answers
Python assert -- improved introspection of failure?
python
debugging
assert
syntactic-sugar
asked 2009-08-20T20:25:23.907
18
votes
16
answers
Do you use assertions?
java
assert
assertions
asked 2009-07-30T18:23:23.560
981
votes
25
answers
How do I use Assert to verify that an exception has been thrown with MSTest?
c#
unit-testing
mstest
assert
vs-unit-testing-framework
asked 2009-06-01T05:01:53.873
11
votes
3
answers
What does "#define assert(exp) ((void) 0)" do?
c
assert
asked 2009-05-20T03:28:59.247
54
votes
8
answers
Is it bad practice to have more than one assertion in a unit test?
unit-testing
assert
asked 2009-04-17T23:03:41.477
34
votes
7
answers
How to put assert into release builds in C/C++
c++
c
release
assert
asked 2009-03-06T23:39:07.627
65
votes
6
answers
What's the difference between Assert.AreNotEqual and Assert.AreNotSame?
c#
.net
unit-testing
testing
assert
asked 2009-02-12T21:07:54.330
53
votes
12
answers
Best practice for debug Asserts during Unit testing
unit-testing
assert
asked 2009-01-03T22:01:03.473
14
votes
4
answers
Some (anti-)patterns on using assert (Java, and others)
java
language-agnostic
assert
asked 2008-12-15T15:42:30.613
15
votes
8
answers
What are assertions? and why would you use them?
c++
assert
asked 2008-10-31T11:28:32.883
199
votes
9
answers
C# - What does the Assert() method do? Is it still useful?
c#
assert
asked 2008-10-02T17:24:28.407
18
votes
2
answers
How to disable a programmatical breakpoint / assert?
visual-studio
debugging
x86
assert
debugbreak
asked 2008-09-22T14:43:25.703
20
votes
16
answers
Passing null to a method
java
null
assert
asked 2008-08-28T13:34:40.313
205
votes
17
answers
When should assertions stay in production code?
assert
asked 2008-08-20T11:01:19.283