Conversation
Цель UnitTests запускала только Core, DebugProtocol, Dynamic и Language, поэтому тесты стандартной библиотеки и документатора не гонялись ни в Jenkins, ни в GA. Добавил их и JunitXml.TestLogger, без которого --logger:junit не пишет отчет. Сразу всплыли два теста, зависящих от окружения: MarkdownWriterTests ждал \r\n, а MarkdownWriter пишет Environment.NewLine; TimeZoneConverterTests брал Europe/Kiev, который на Windows в режиме NLS (без ICU) не находится - теперь FLE Standard Time, тот же пояс. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (1)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe changes register two test assemblies, add JunitXml.TestLogger references, and update Markdown line-ending and time-zone conversion test inputs. ChangesTest suite updates
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to This change expands test coverage and makes two tests more portable, with no identified production impact. It is safe to merge. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 2 files. (3 skipped: 3 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|

0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (34.70% Estimated after merge)
Цель
UnitTestsвBuild.csprojзапускала только Core, DebugProtocol, Dynamic и Language — тестыOneScript.StandardLibrary.TestsиDocumenterTestsне гонялись ни в Jenkins, ни в GA. Добавил их в список иJunitXml.TestLoggerв их csproj (без него--logger:junitне пишет отчет).Сразу всплыли два теста, зависящих от окружения:
MarkdownWriterTestsждал\r\n, аMarkdownWriterпишетEnvironment.NewLine— на Linux и macOS падал;TimeZoneConverterTestsбралEurope/Kiev, а на Windows в режиме NLS (без ICU) .NET не понимает имена часовых поясов IANA. В этом режиме, судя по тестамformatting.os(они ждут форматы дат NLS и проходят), работает и Windows-агент Jenkins. Заменил наFLE Standard Time— тот же пояс, находится и с NLS, и с ICU.Проверено сборкой GA на Windows, Linux и macOS: https://github.com/sfaqer/OneScript/actions/runs/36977888289
🤖 Generated with Claude Code
Summary by CodeRabbit