Autotests failure in some non-english locales
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- git, ruby
- Domain
- localization, testing-qa
Research direction
The issue points to autotests in spec and includes an attached sample patch; start by inspecting those specs and the Git commands whose output is asserted. Run the tests under a non-English locale, then verify the suite passes without depending on localized Git messages, using the proposed locale or machine-readable approach.
Written by the indexing model from the issue text.
Description
Autotests in spec do some tests and analyze result (output) of git command.
But on some locales there are localized messages from git and those tests fail.
One example (looks like this is French locale):
https://reproducible.debian.net/logs/unstable/amd64/homesick_1.1.3-1.build2.log.gz
As workaround you could set locale to C during the test or use machine-parsable git commands like "git status --porcelain".
Sample patch is attached.
03-fix-locale-spec-tests.patch.txt
- Dominant language
- Ruby
- Stars
- 2.5k
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from technicalpickles/homesick
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
technicalpickles/homesick#176 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
technicalpickles/homesick#175 ·
-
enhancement help wanted
Difficulty 5/5 Over a week Newbie friendliness 30/100
technicalpickles/homesick#169 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 15/100
technicalpickles/homesick#106 · 7 comments ·
-
question refactoring
Difficulty 5/5 Over a week Newbie friendliness 20/100
technicalpickles/homesick#99 · 9 comments ·
All issues in technicalpickles/homesick
Similar issues
-
バグ
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
voxpupuli/puppet-epel#186 · 1 comment ·
-
external_created_at is no longer used for the message timestamp since the new message UI (v4.4.0) OpenBug Frontend
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
TheOdinProject/curriculum#31402 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100