Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Integration Tests for WebGPU using Deno #810

Open
antimora opened this issue Sep 15, 2023 · 0 comments
Open

Add Integration Tests for WebGPU using Deno #810

antimora opened this issue Sep 15, 2023 · 0 comments
Labels
help wanted Extra attention is needed infrastructure

Comments

@antimora
Copy link
Collaborator

Introduction

In order to ensure that the burn-wgpu backend functions correctly, it is essential to expand our testing strategy to include integration tests using the WebGPU API. Given that Deno recently introduced experimental support for WebGPU, it provides us with an ideal platform for these integration tests. See the official announcement here: Deno v1.8 WebGPU Support.

Objectives

  1. Setup Deno for WebGPU testing: To start, we need to set up an environment that supports Deno and is tailored for WebGPU tests.
  2. Automate Test Cases: Develop a suite of test cases specifically designed for the burn-wgpu backend. This will ensure that future changes to the framework don't unintentionally break compatibility or functionality.
  3. CI/CD Integration: Integrate these tests into our continuous integration and delivery pipeline to ensure that every push or pull request is automatically tested against this suite.

Implementation Details

  1. Deno Setup:

    • Ensure that the testing environment has the latest version of Deno installed.
    • Configure Deno permissions to allow access to WebGPU and other necessary resources.
  2. Develop Test Cases:

    • Test the basic functionality of burn-wgpu to ensure all the expected methods and attributes function as intended.
  3. CI/CD Integration:

    • Choose a CI/CD platform that supports Deno (or configure it to do so).
    • Automate the deployment of the testing environment, including the installation of Deno.
    • Run the test suite on every push or pull request and report any failures directly on the GitHub platform.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant