line

abstract var line: Double?(source)

The line number where the test is defined, or undefined if the test was run through the REPL.