alef 0.69.0

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
test_that("{{ test_name }}: {{ description }}", {
{% for line in setup_lines %}
  {{ line }}
{% endfor %}
{% if expects_error %}
{{ error_check }}
{% else %}
{% if result_is_simple %}
  {{ result_var }} <- {{ function_name }}({{ final_args }})
{% else %}
  {{ result_var }} <- jsonlite::fromJSON({{ function_name }}({{ final_args }}), simplifyVector = FALSE)
{% endif %}
{{ assertions_rendered }}
{% endif %}
})