Returns the name of this [`TestContext`]. This is the same name that is shown in events logged in the test output.
(&self)
| 622 | /// |
| 623 | /// This is the same name that is shown in events logged in the test output. |
| 624 | pub fn name(&self) -> String { |
| 625 | let context_names = CONTEXT_NAMES.read().unwrap(); |
| 626 | let id = &self.ctx.id; |
| 627 | context_names.get(id).unwrap_or(&id.to_string()).to_string() |
| 628 | } |
| 629 | |
| 630 | /// Configure as a given email address. |
| 631 | /// |
no test coverage detected