# FerroTestAssembly

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-headless/struct-ferrotestassembly/

**struct** · [`ferroui-headless`](/docs/0.5.0/api/ferroui-headless/) · v0.5.0

```rust
struct FerroTestAssembly
```

A test assembly as the session sees it: its name, by which
`HeadlessUnitTestSession::get_or_start_for_assembly` keeps one session
per assembly, and the two assembly attributes of the original. A test
crate declares one as a `static`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless/headless_unit_test_session.rs#L64)

## Members

- [`name`](#struct_field-name)
- [`test_application`](#struct_field-test_application)
- [`test_isolation`](#struct_field-test_isolation)

<a id="struct_field-name"></a>

### name

```rust
name: &'static str
```

The name of the assembly: the name of the test crate, or of a part of
it that has an application and an isolation level of its own.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless/headless_unit_test_session.rs#L67)

<a id="struct_field-test_application"></a>

### test_application

```rust
test_application: Option<crate::FerroTestApplicationAttribute>
```

The application of the tests; an empty application when `None`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless/headless_unit_test_session.rs#L69)

<a id="struct_field-test_isolation"></a>

### test_isolation

```rust
test_isolation: Option<crate::FerroTestIsolationAttribute>
```

The isolation of the tests; `FerroTestIsolationLevel::PerTest` when
`None`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless/headless_unit_test_session.rs#L72)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Debug`
- `ErasedDestructor`
- `IntoEither`

## Availability

Extracted for `x86_64-unknown-linux-gnu`, `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
