![]() ![]() Report actually includes coverage across your test suites and thereby gives you a better picture of blank spots. ![]() SimpleCov automatically takes care of this by caching and merging results when generating reports, so your In most cases, you'll want overall coverage results for your projects, including all types of tests, Cucumber features,Įtc. SimpleCov/Coverage track covered ruby code, gathering coverage for common templating solutions like erb, slim and haml is not supported. It uses Ruby's built-in Coverage library to gather codeĬoverage data, but makes processing its results much easier by providing a clean API to filter, group, merge, format,Īnd display those results, giving you a complete code coverage suite that can be set up with just a couple lines of One known example: RBS does not support protected methods.Ĭurrent progress can be previewed on the repo's rbs branch.SimpleCov is a code coverage analysis tool for Ruby. Some code intelligence provided by YARD may not be currently available in RBS. The concepts of maps and pins will undergo a thorough redesign. With integration of RBS, 2.6 will become the minimum requirement. RBS sigs will be treated as the canonical authority for external libraries when they're available, but Solargraph will still use YARD annotation in workspace maps. It will no longer be necessary to use solargraph download-core to update core and stdlib documentation. Updates to core and stdlib signatures are likely to be more frequent and more accurate. In my early experiments, mapping from RBS instead of YARD appears to provide a slight performance boost.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |