From b0f94e2b2104d35f70bd186ac1bf541248fafd6f Mon Sep 17 00:00:00 2001 From: Animesh Pathak <53110238+Sonichigo@users.noreply.github.com> Date: Tue, 16 Jul 2024 20:11:15 +0530 Subject: [PATCH] feat: add UTG pillar page (#47) * feat: add new pillar pages Signed-off-by: Animesh Pathak * feat: update test data pillar page Signed-off-by: Animesh Pathak * feat: update ci testing pillar page Signed-off-by: Animesh Pathak * refactor: meta & desc for each page Signed-off-by: Animesh Pathak * refactor: meta & desc for each page Signed-off-by: Animesh Pathak * fix: handled meta data centrally * refactor: code coverage pillar page Signed-off-by: Animesh Pathak * refactor: meta and title of pillar page Signed-off-by: Animesh Pathak * feat: add 3 pillar pages Signed-off-by: Animesh Pathak * refactor: pillar pages Signed-off-by: Animesh Pathak * feat: add UTG pillar page Signed-off-by: Animesh Pathak * fix: conflicts Signed-off-by: Animesh Pathak * feat: contract testing pilalr page Signed-off-by: Animesh Pathak * feat: content of pillar-pages Signed-off-by: Animesh Pathak * feat: content of pillar-pages Signed-off-by: Animesh Pathak --------- Signed-off-by: Animesh Pathak Co-authored-by: Hermione Dadheech Co-authored-by: Neha Gupta --- app/(default)/ai-code-generation/page.tsx | 52 +++++- app/(default)/api-testing/page.tsx | 46 +++++- app/(default)/code-coverage/page.tsx | 37 ++++- .../continuous-integration-testing/page.tsx | 43 ++++- app/(default)/contract-testing/page.tsx | 146 +++++++++++++++++ app/(default)/regression-testing/page.tsx | 42 ++++- app/(default)/test-data-generator/page.tsx | 42 ++++- app/(default)/unit-test-generator/page.tsx | 148 ++++++++++++++++++ components/pillar-page/block.tsx | 2 +- components/utils/contract-testing.tsx | 104 ++++++++++++ components/utils/resources.tsx | 12 ++ components/utils/unit-test-generator.tsx | 95 +++++++++++ 12 files changed, 745 insertions(+), 24 deletions(-) create mode 100644 app/(default)/contract-testing/page.tsx create mode 100644 app/(default)/unit-test-generator/page.tsx create mode 100644 components/utils/contract-testing.tsx create mode 100644 components/utils/unit-test-generator.tsx diff --git a/app/(default)/ai-code-generation/page.tsx b/app/(default)/ai-code-generation/page.tsx index 2a78cb7c..c1e08723 100644 --- a/app/(default)/ai-code-generation/page.tsx +++ b/app/(default)/ai-code-generation/page.tsx @@ -9,7 +9,10 @@ import SocialLinks from "@/components/pillar-page/community"; import { Testimonial } from "@/components/testimonial"; import { testimonialData } from "@/components/utils/testimonial"; import testAndStubsGen from "@/public/images/TestGenHighlighted.json"; -import { blocksData } from "@/components/utils/common"; +import {MdiLightningBolt,FluentPuzzleCubePiece20Filled, + CollaborationIcon, StreamlineBrowserCheck, PsPiggyBankCoins, + MaterialSymbolsLightEarlyOnOutline +} from "@/components/utils/common"; import { featuresData,faqQuestions } from "@/components/utils/ai-code-generation"; import BannerBunny from "@/public/images/banner-bunny.png"; import FAQ from "@/components/pillar-page/faq"; @@ -22,16 +25,49 @@ const pageMetadata: Metadata = { }; const heroData = { - titleTop: "Integration test generator ", - titleBottom: "for developers", + titleTop: "Integration Test Generator ", + titleBottom: "for Developers", subtitleTop: "Transform Testing with AI that actually works! Explore Now!", subtitleBottom: "Experience efficiency and reliability with 90% coverage in 2 mins.🚀", animationSrc: testAndStubsGen, }; + +const blocksData = [ + { + title: "Learning Curve", + description: "Steep learning curve to understand AI-powered test generation tools.", + SvgComponent: MdiLightningBolt, + }, + { + title: "Dependency on Data Quality", + description: "AI tools heavily rely on high-quality and representative data for accurate test generation.", + SvgComponent: FluentPuzzleCubePiece20Filled, + }, + { + title: "Setting Test Parameters", + description: "It is difficult to adjust AI-generated tests for various scenarios.", + SvgComponent: CollaborationIcon, + }, + { + title: "Cost of Implementation", + description: "High initial costs and ongoing expenses associated with integrating AI into testing workflows.", + SvgComponent: StreamlineBrowserCheck, + }, + { + title: "Integration with Existing Tools", + description: "Compatibility issues when integrating AI test generation with existing testing tools and frameworks.", + SvgComponent: PsPiggyBankCoins, + }, + { + title: "Understanding Test Outcomes", + description: "Difficulties in interpreting and validating AI-generated test results.", + SvgComponent: MaterialSymbolsLightEarlyOnOutline, + }, +]; const ProblemBlocksData = { - title: "Smart generation - Enhanced development", - subtitle: "👋 Say Hi to 👋", + title: "Using AI for Test Generation", + subtitle: "👋 Challenges 👋", btnText: "Join Waitlist", blocksData: blocksData, }; @@ -39,7 +75,7 @@ const FeaturesData = { title: "With ", title2: "leverage", subtitle: - "Transforming interactions into realistic, diverse, and customizable stubs for precise testing", + "Generate realistic, diverse, and customizable tests for precise testing", highlightTitle: "AI Test Generation ", featuresData: featuresData, }; @@ -54,7 +90,7 @@ const BannerData = { }; export default function Home() { return ( - <> +