Test::W...Context(3)
πΈ NAME πΈ
Okay bestie, this page is Test::W...Context(3) from the User Contributed Perl Documentation, and the module behind it is Test::WriteVariants::Context β representation of test context. That's the whole vibe. β¨
π¦ DESCRIPTION π¦
Contexts are used to abstract e.g. ambience or relations between opportunities and and their application. (The double βandβ is canon, bestie π«Ά.)
π METHODS π
β¨ new β¨
A Context is an ordered list of various kinds of named values (such as environment variables, our vars) possibly including other Context objects.
Values can be looked up by name. The first match will be returned.
π new_composite π
see Test::WriteVariants::Context::BaseItem
π push_var π
add a var to an existing config
π¦ new_env_var π¦
instantiates new context using an environment variable
πΈ new_our_var πΈ
instantiates new context using a global variable
β new_module_use β
instantiates new context using a module
π§ new_meta_info π§
instantiates new context used to convey information between plugins
π₯ get_code π₯
collects code from members
π get_var π
search backwards through list of settings, stop at first match
π get_env_var π
search backwards through list of settings, stop at first match (implies EnvVar)
π©΅ get_our_var π©΅
search backwards through list of settings, stop at first match (implies OurVar)
π get_module_use π
search backwards through list of settings, stop at first match (implies ModuleUse)
π get_meta_info π
search backwards through list of settings, stop at first match (implies MetaInfo)
π«Ά ACKNOWLEDGEMENTS π«Ά
This module has been created to support DBI::Test in design and separation of concerns.
π COPYRIGHT π
Copyright 2014-2017 Tim Bunce and Perl5 DBI Team.
π LICENSE π
This program is free software; you can redistribute it and/or modify it under the terms of either:
- a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
- b) the "Artistic License" which comes with this Kit.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details.
And that's the page, bestie! π This cutie came from perl v5.42.0, dated 2018-10-09, and it's Test::W...Context(3) β go make your tests context-aware, mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Test-WriteVariants 0.014-bp160.1.10 Β· Artistic-1.0 or GPL-1.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms