1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Property-based test generators for Perl domain objects.
//!
//! This crate provides reusable [`proptest::Strategy`] implementations for
//! generating Perl variables, module paths, code snippets, and Unicode
//! strings suitable for fuzzing parsers and LSP components.
// The crate-level doctest demonstrates `proptest!` syntax, which uses `#[test]`.
//!
//! # Example
//!
//! ```rust
//! use proptest::prelude::*;
//! use perl_test_generators::{variable, module_path, non_empty_unicode_string};
//!
//! proptest! {
//! #[test]
//! fn vars_parse(sym in variable()) {
//! assert!(sym.starts_with('$') || sym.starts_with('@') || sym.starts_with('%'));
//! }
//!
//! #[test]
//! fn non_empty_text(text in non_empty_unicode_string()) {
//! assert!(!text.is_empty());
//! }
//! }
//! ```
pub use ;
pub use ;
pub use ;
pub use variable;