iotile / iotile/coretools

Add expect statement so that we can assert things about the device we're programmed into

Open
#376 0 comments 0 reactions 0 assignees View on GitHub
iotile-sensorgraph type:enhancement
Dominant language
Python
Stars
14
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Something like, in a config block:

```
expect tile_version == "2.2.0";
```

or at global level
```
expect os_tag == 1024;
```

These expectations will be attached to the sensorgraph and at code generation time used to generate appropriate assertions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.