Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat(smdk): Implement Test Mode #2636

Closed
wants to merge 7 commits into from

Conversation

sehz
Copy link
Contributor

@sehz sehz commented Sep 30, 2022

Implement test mode for smdk for #2631

$> smdk test --text A -e regex="[A-Z]"
project name: "fluvio-sm-regex"
loading module at: target/wasm32-unknown-unknown/release-lto/fluvio_sm_regex.wasm
module loaded
SmartModule created
1 records

> smdk test --text aaa -e regex="[A-Z]"
project name: "fluvio-sm-regex"
loading module at: target/wasm32-unknown-unknown/release-lto/fluvio_sm_regex.wasm
module loaded
SmartModule created
0 records

This works on smartmodule/sm-regex

Test mode directly invoke SmartEngine directly without going thru SPU

@sehz
Copy link
Contributor Author

sehz commented Sep 30, 2022

bors r+

bors bot pushed a commit that referenced this pull request Sep 30, 2022
Implement test mode for `smdk` for #2631 
```
$> smdk test --text A -e regex="[A-Z]"
project name: "fluvio-sm-regex"
loading module at: target/wasm32-unknown-unknown/release-lto/fluvio_sm_regex.wasm
module loaded
SmartModule created
1 records

> smdk test --text aaa -e regex="[A-Z]"
project name: "fluvio-sm-regex"
loading module at: target/wasm32-unknown-unknown/release-lto/fluvio_sm_regex.wasm
module loaded
SmartModule created
0 records
```

This works on `smartmodule/sm-regex` 

Test mode directly invoke SmartEngine directly without going thru SPU
@bors
Copy link

bors bot commented Sep 30, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(smdk): Implement Test Mode [Merged by Bors] - feat(smdk): Implement Test Mode Sep 30, 2022
@bors bors bot closed this Sep 30, 2022
@sehz sehz deleted the smdk_test branch October 7, 2022 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant