fitSharp
Parse Boolean
The Parse Boolean operator accepts 'yes', 'y' and 'true as true values and 'no', 'n' and 'false' as false values. The operator is case-insensitive.

when test is
story test fixture
checktest result
sample domain

setboolean fieldtrue

compute
boolean field
yes
y
true
YeS
Y
True
no

sample domain

setboolean fieldtrue

compute
boolean field
yes
y
true
YeS
Y
True
no expected
True actual

sample domain

setboolean fieldtrue

compute
boolean field
yes
y
true
YeS
Y
True
no
then result is
sample domain

setboolean fieldtrue

compute
boolean field
yes
y
true
YeS
Y
True
no expected
True actual

when test is
story test fixture
checktest result
sample domain

setboolean fieldfalse

compute
boolean field
no
n
false
NO
N
False
yes

sample domain

setboolean fieldfalse

compute
boolean field
no
n
false
NO
N
False
yes expected
False actual

sample domain

setboolean fieldfalse

compute
boolean field
no
n
false
NO
N
False
yes
then result is
sample domain

setboolean fieldfalse

compute
boolean field
no
n
false
NO
N
False
yes expected
False actual
Copyright © 2022 Syterra Software Inc. All rights reserved.