Pudu programming language
Menu
API reference

Std.Test.total

1 declaration

fn

total: &Std.Test.Report -> Int

This is a callable function.

What it does

How many checks ran.

A pending check is not one of them: it was not run, and counting it here

would let a suite look larger for work that has not been done.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • & borrows a value for this call instead of moving or copying it.

Back to Std.TestSearch related declarations