René's URL Explorer Experiment


Title: BIMTester, if translated feature fails, behave does not catch the exception · Issue #1888 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: BIMTester, if translated feature fails, behave does not catch the exception · Issue #1888 · IfcOpenShell/IfcOpenShell

X Title: BIMTester, if translated feature fails, behave does not catch the exception · Issue #1888 · IfcOpenShell/IfcOpenShell

Description: Open source IFC library and geometry engine. Contribute to IfcOpenShell/IfcOpenShell development by creating an account on GitHub.

Open Graph Description: Open source IFC library and geometry engine. Contribute to IfcOpenShell/IfcOpenShell development by creating an account on GitHub.

X Description: Open source IFC library and geometry engine. Contribute to IfcOpenShell/IfcOpenShell development by creating an account on GitHub.

Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BIMTester, if translated feature fails, behave does not catch the exception","articleBody":"tested on https://github.com/IfcOpenShell/IfcOpenShell/commit/04535d27ecc1af7bcb25f340b4d9f323355885a5\r\n\r\nIf features in other languages than englisch are used and they fail there are problems ... \r\n\r\nfind python code here to run the example ... https://community.osarch.org/discussion/comment/9690/#Comment_9690\r\n\r\ntry Englisch feature file with column example: add the following test and run bimtester ...\r\n```gherkin\r\nScenario: Properties\r\n * All \"IfcBuildingElement\" elements have an \"MyProperty\" property in the \"MyPset\" pset\r\n```\r\nthe test will fail because  \"MyPset.MyProperty\" does not exist in the ifc. In the html report is says ...\r\n\r\n```\r\nAll \"IfcBuildingElement\" elements have an \"MyProperty\" property in the \"MyPset\" pset 0.0s\r\n\r\nAssertion Failed: All 1 IfcBuildingElement elements are missing the property MyProperty in the pset.\r\n```\r\n\r\ntry German feature file with column example: add the following test and run bimtester ...\r\n```gherkin\r\nSzenario: Attribute\r\n * Alle \"IfcBuildingElement\" Bauteile haben das Attribut \"MyProperty\" im PSet \"MyPset\"\r\n```\r\nthe test will fail but the exception is not catched. In in the html report is says ...\r\n\r\n```\r\nAlle \"IfcBuildingElement\" Bauteile haben das Attribut \"MyProperty\" im PSet \"MyPset\" 0.02s\r\n\r\nSubstep info: Assertion Failed: All 1 IfcBuildingElement elements are missing the property MyProperty in the pset.\r\nTraceback (of failed substep):\r\nFile \"C:\\0_BHA_privat\\progr\\FreeCAD\\FreeCAD_0.20.xxxxx\\bin\\lib\\site-packages\\behave\\model.py\", line 1329, in run\r\nmatch.run(runner.context)\r\nFile \"C:\\0_BHA_privat\\progr\\FreeCAD\\FreeCAD_0.20.xxxxx\\bin\\lib\\site-packages\\behave\\matchers.py\", line 98, in run\r\nself.func(context, *args, **kwargs)\r\nFile \"C:\\Users\\BHA\\Desktop\\IfcOpenShell\\src\\ifcbimtester\\bimtester\\features\\steps\\attributes_psets\\en.py\", line 11, in step_impl\r\neleclass_has_property_in_pset(\r\nFile \"C:\\Users\\BHA\\Desktop\\IfcOpenShell\\src\\ifcbimtester\\bimtester\\features\\steps\\attributes_psets\\en.py\", line 81, in eleclass_has_property_in_pset\r\nassert_elements(\r\nFile \"C:\\Users\\BHA\\Desktop\\IfcOpenShell\\src\\ifcbimtester\\bimtester\\util.py\", line 108, in assert_elements\r\nassert False, message_all_falseelems.format(elemcount=elemcount, ifc_class=ifc_class, parameter=parameter)\r\n```\r\n\r\nIf at this code line the method is called instead the english test it works fine ... https://github.com/IfcOpenShell/IfcOpenShell/blob/04535d27ecc1af7bcb25f340b4d9f323355885a5/src/ifcbimtester/bimtester/features/steps/attributes_psets/de.py#L9\r\n\r\nshould be changed to\r\n```python\r\n    #context.execute_steps(f'* All \"{ifc_class}\" elements have an \"{aproperty}\" property in the \"{pset}\" pset')\r\n    from bimtester.features.steps.attributes_psets.en import eleclass_has_property_in_pset\r\n    eleclass_has_property_in_pset(\r\n        context,\r\n        ifc_class,\r\n        aproperty,\r\n        pset\r\n    )\r\n```\r\nThan the test fails too but the exception is catched like on English feature file example ...\r\n```\r\nAlle \"IfcBuildingElement\" Bauteile haben das Attribut \"MyProperty\" im PSet \"MyPset\" 0.0s\r\n\r\nAssertion Failed: All 1 IfcBuildingElement elements are missing the property MyProperty in the pset.\r\n```\r\n","author":{"url":"https://github.com/berndhahnebach","@type":"Person","name":"berndhahnebach"},"datePublished":"2021-11-21T20:32:37Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/1888"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:41268166-294a-b038-79a2-f4cb05e132a6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id97FE:2A3C1B:634CD5:84F0F4:6B04A732
html-safe-noncebd5af6e31567301fc3968474e1c7f40c87a074fc2a7f78374efb65ad8427019d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0ZFOjJBM0MxQjo2MzRDRDU6ODRGMEY0OjZCMDRBNzMyIiwidmlzaXRvcl9pZCI6Ijc0NTIzMzk3NTcyOTM4MDc0MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac974d2995eea1409910d96c37129e90bd602a526d8e0b0adb0c66db8f121961aa
hovercard-subject-tagrepository:40473201
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/IfcOpenShell/IfcOpenShell/issues/1888
twitter:imagehttps://opengraph.githubassets.com/28e4520c7d86b1b5225c8b336ba660404d70fd027548b7630a2530d57c89e9c2/IfcOpenShell/IfcOpenShell
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/28e4520c7d86b1b5225c8b336ba660404d70fd027548b7630a2530d57c89e9c2/IfcOpenShell/IfcOpenShell
og:image:altOpen source IFC library and geometry engine. Contribute to IfcOpenShell/IfcOpenShell development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b
turbo-cache-controlno-cache
go-importgithub.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git
octolytics-dimension-user_id13692563
octolytics-dimension-user_loginIfcOpenShell
octolytics-dimension-repository_id40473201
octolytics-dimension-repository_nwoIfcOpenShell/IfcOpenShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id40473201
octolytics-dimension-repository_network_root_nwoIfcOpenShell/IfcOpenShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release557cfbac6cdb532730c95c90f2cefdc0c4128029
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/1888#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F1888
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F1888
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/1888
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/1888
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/1888
https://github.com/IfcOpenShell/IfcOpenShell
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1888
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1888
BIMTester, if translated feature fails, behave does not catch the exceptionhttps://github.com/IfcOpenShell/IfcOpenShell/issues/1888#top
https://github.com/berndhahnebach
BIMTesterhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22BIMTester%22
https://github.com/berndhahnebach
berndhahnebachhttps://github.com/berndhahnebach
on Nov 21, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1888#issue-1059480086
04535d2https://github.com/IfcOpenShell/IfcOpenShell/commit/04535d27ecc1af7bcb25f340b4d9f323355885a5
https://community.osarch.org/discussion/comment/9690/#Comment_9690https://community.osarch.org/discussion/comment/9690/#Comment_9690
IfcOpenShell/src/ifcbimtester/bimtester/features/steps/attributes_psets/de.pyhttps://github.com/IfcOpenShell/IfcOpenShell/blob/04535d27ecc1af7bcb25f340b4d9f323355885a5/src/ifcbimtester/bimtester/features/steps/attributes_psets/de.py#L9
04535d2https://github.com/IfcOpenShell/IfcOpenShell/commit/04535d27ecc1af7bcb25f340b4d9f323355885a5
https://github.com/berndhahnebach
berndhahnebachhttps://github.com/berndhahnebach
on Nov 21, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1888#issuecomment-974891722
berndhahnebachhttps://github.com/berndhahnebach
on Nov 21, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1888#event-5650474379
Moulthttps://github.com/Moult
BIMTesterhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22BIMTester%22
on Nov 21, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1888#event-5650542397
berndhahnebachhttps://github.com/berndhahnebach
IfcConverthttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcConvert%22
on Dec 10, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1888#event-5747488664
berndhahnebachhttps://github.com/berndhahnebach
Moulthttps://github.com/Moult
berndhahnebachhttps://github.com/berndhahnebach
on Dec 10, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1888#event-5747489525
https://github.com/berndhahnebach
berndhahnebachhttps://github.com/berndhahnebach
on Dec 11, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1888#issuecomment-991652420
behave/behave#981https://github.com/behave/behave/issues/981
https://github.com/berndhahnebach
berndhahnebachhttps://github.com/berndhahnebach
on Dec 12, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1888#issuecomment-991879531
berndhahnebachhttps://github.com/berndhahnebach
Moulthttps://github.com/Moult
on Dec 12, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1888#event-5752685953
berndhahnebachhttps://github.com/berndhahnebach
IfcConverthttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcConvert%22
on Dec 12, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1888#event-5752686049
berndhahnebachhttps://github.com/berndhahnebach
completedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 12, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1888#event-5752686131
https://github.com/aothms
aothmshttps://github.com/aothms
on Dec 12, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1888#issuecomment-991882818
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1888
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1888
berndhahnebachhttps://github.com/berndhahnebach
BIMTesterhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22BIMTester%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.