Skip to content

Commit c621255

Browse files
authored
Merge pull request #90 from tech-sushant/reqnroll
feat: add support for reqnroll testing framework
2 parents 217f0a5 + 420a843 commit c621255

File tree

6 files changed

+19
-18
lines changed

6 files changed

+19
-18
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@browserstack/mcp-server",
3-
"version": "1.1.8",
3+
"version": "1.1.9",
44
"description": "BrowserStack's Official MCP Server",
55
"main": "dist/index.js",
66
"repository": {

src/tools/appautomate.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -268,25 +268,25 @@ export default function addAppAutomationTools(server: McpServer) {
268268
.string()
269269
.describe(
270270
"Path to your application file:\n" +
271-
"If in development IDE directory:\n" +
272-
"• For Android: 'gradle assembleDebug'\n" +
273-
"• For iOS:\n" +
274-
" xcodebuild clean -scheme YOUR_SCHEME && \\\n" +
275-
" xcodebuild archive -scheme YOUR_SCHEME -configuration Release -archivePath build/app.xcarchive && \\\n" +
276-
" xcodebuild -exportArchive -archivePath build/app.xcarchive -exportPath build/ipa -exportOptionsPlist exportOptions.plist\n\n" +
277-
"If in other directory, provide existing app path"
271+
"If in development IDE directory:\n" +
272+
"• For Android: 'gradle assembleDebug'\n" +
273+
"• For iOS:\n" +
274+
" xcodebuild clean -scheme YOUR_SCHEME && \\\n" +
275+
" xcodebuild archive -scheme YOUR_SCHEME -configuration Release -archivePath build/app.xcarchive && \\\n" +
276+
" xcodebuild -exportArchive -archivePath build/app.xcarchive -exportPath build/ipa -exportOptionsPlist exportOptions.plist\n\n" +
277+
"If in other directory, provide existing app path",
278278
),
279279
testSuitePath: z
280280
.string()
281281
.describe(
282282
"Path to your test suite file:\n" +
283-
"If in development IDE directory:\n" +
284-
"• For Android: 'gradle assembleAndroidTest'\n" +
285-
"• For iOS:\n" +
286-
" xcodebuild test-without-building -scheme YOUR_SCHEME -destination 'generic/platform=iOS' && \\\n" +
287-
" cd ~/Library/Developer/Xcode/DerivedData/*/Build/Products/Debug-iphonesimulator/ && \\\n" +
288-
" zip -r Tests.zip *.xctestrun *-Runner.app\n\n" +
289-
"If in other directory, provide existing test file path"
283+
"If in development IDE directory:\n" +
284+
"• For Android: 'gradle assembleAndroidTest'\n" +
285+
"• For iOS:\n" +
286+
" xcodebuild test-without-building -scheme YOUR_SCHEME -destination 'generic/platform=iOS' && \\\n" +
287+
" cd ~/Library/Developer/Xcode/DerivedData/*/Build/Products/Debug-iphonesimulator/ && \\\n" +
288+
" zip -r Tests.zip *.xctestrun *-Runner.app\n\n" +
289+
"If in other directory, provide existing test file path",
290290
),
291291
devices: z
292292
.array(z.string())

src/tools/bstack-sdk.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import {
2424
getPercyInstructions,
2525
} from "./sdk-utils/percy/instructions.js";
2626

27-
2827
/**
2928
* BrowserStack SDK hooks into your test framework to seamlessly run tests on BrowserStack.
3029
* This tool gives instructions to setup a browserstack.yml file in the project root and installs the necessary dependencies.

src/tools/sdk-utils/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ export const SUPPORTED_CONFIGURATIONS: ConfigMapping = {
492492
nunit: { instructions: csharpCommonInstructions },
493493
mstest: { instructions: csharpCommonInstructions },
494494
specflow: { instructions: csharpCommonInstructions },
495+
reqnroll: { instructions: csharpCommonInstructions },
495496
},
496497
},
497498
nodejs: {

src/tools/sdk-utils/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export enum SDKSupportedTestingFrameworkEnum {
3333
mstest = "mstest",
3434
xunit = "xunit",
3535
specflow = "specflow",
36+
reqnroll = "reqnroll",
3637
}
3738
export type SDKSupportedTestingFramework =
3839
keyof typeof SDKSupportedTestingFrameworkEnum;

0 commit comments

Comments
 (0)